{smcl}
{com}{sf}{ul off}{txt}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}C:\Users\19047\Desktop\Uzonyi Informational Theory.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res}26 Jul 2021, 09:58:16

{com}. do "C:\Users\19047\Desktop\Uzonyi Informational Theory.do"
{txt}
{com}. *Figure 1
. lowess  gp laggsratio, adjust bwidth(.4)
{res}{txt}
{com}. 
. *Model 1 & Figure 2A
. logit gp c.laggsratio##c.laggsratio gpyr gpyr2 gpyr3, cluster(ccode)

{res}{txt}Iteration 0:{space 3}log pseudolikelihood = {res: -590.2229}  
Iteration 1:{space 3}log pseudolikelihood = {res: -355.6696}  
Iteration 2:{space 3}log pseudolikelihood = {res:-223.75838}  
Iteration 3:{space 3}log pseudolikelihood = {res:-170.16244}  
Iteration 4:{space 3}log pseudolikelihood = {res:-153.83772}  
Iteration 5:{space 3}log pseudolikelihood = {res:-147.68449}  
Iteration 6:{space 3}log pseudolikelihood = {res:-146.41975}  
Iteration 7:{space 3}log pseudolikelihood = {res:-146.23875}  
Iteration 8:{space 3}log pseudolikelihood = {res:  -146.236}  
Iteration 9:{space 3}log pseudolikelihood = {res:  -146.236}  
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}     1,609
{txt}{col 49}Wald chi2({res}5{txt}){col 67}= {res}     79.73
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log pseudolikelihood = {res}  -146.236{txt}{col 49}Pseudo R2{col 67}= {res}    0.7522

{txt}{ralign 91:(Std. Err. adjusted for {res:65} clusters in ccode)}
{hline 26}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 27}{c |}{col 39}    Robust
{col 1}                       gp{col 27}{c |}      Coef.{col 39}   Std. Err.{col 51}      z{col 59}   P>|z|{col 67}     [95% Con{col 80}f. Interval]
{hline 26}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 15}laggsratio {c |}{col 27}{res}{space 2} 22.10901{col 39}{space 2} 5.450115{col 50}{space 1}    4.06{col 59}{space 3}0.000{col 67}{space 4} 11.42698{col 80}{space 3} 32.79104
{txt}{space 25} {c |}
c.laggsratio#c.laggsratio {c |}{col 27}{res}{space 2}-15.88177{col 39}{space 2} 3.920141{col 50}{space 1}   -4.05{col 59}{space 3}0.000{col 67}{space 4}-23.56511{col 80}{space 3}-8.198438
{txt}{space 25} {c |}
{space 21}gpyr {c |}{col 27}{res}{space 2}-3.203962{col 39}{space 2} .6725968{col 50}{space 1}   -4.76{col 59}{space 3}0.000{col 67}{space 4}-4.522228{col 80}{space 3}-1.885697
{txt}{space 20}gpyr2 {c |}{col 27}{res}{space 2} .1986214{col 39}{space 2} .0430358{col 50}{space 1}    4.62{col 59}{space 3}0.000{col 67}{space 4} .1142727{col 80}{space 3} .2829701
{txt}{space 20}gpyr3 {c |}{col 27}{res}{space 2}-.0032369{col 39}{space 2} .0008353{col 50}{space 1}   -3.88{col 59}{space 3}0.000{col 67}{space 4}-.0048741{col 80}{space 3}-.0015997
{txt}{space 20}_cons {c |}{col 27}{res}{space 2}-5.308878{col 39}{space 2} 1.832882{col 50}{space 1}   -2.90{col 59}{space 3}0.004{col 67}{space 4} -8.90126{col 80}{space 3}-1.716495
{txt}{hline 26}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: 136 failures and 0 successes completely determined.{p_end}

{com}. margins, dydx( laggsratio ) at( laggsratio =(0 (.1) 1)) vsquish l(95)
{res}
{txt}Average marginal effects{col 49}Number of obs{col 67}= {res}     1,609
{txt}{col 1}Model VCE{col 14}: {res}Robust

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Pr(gp), predict()}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:dy/dx w.r.t.}:{space 1}{res:laggsratio}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:1._at}:{space 1}{res:{txt:laggsratio}{space 6}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:2._at}:{space 1}{res:{txt:laggsratio}{space 6}{txt:=} {space 9}.1}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:3._at}:{space 1}{res:{txt:laggsratio}{space 6}{txt:=} {space 9}.2}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:4._at}:{space 1}{res:{txt:laggsratio}{space 6}{txt:=} {space 9}.3}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:5._at}:{space 1}{res:{txt:laggsratio}{space 6}{txt:=} {space 9}.4}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:6._at}:{space 1}{res:{txt:laggsratio}{space 6}{txt:=} {space 9}.5}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:7._at}:{space 1}{res:{txt:laggsratio}{space 6}{txt:=} {space 9}.6}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:8._at}:{space 1}{res:{txt:laggsratio}{space 6}{txt:=} {space 9}.7}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:9._at}:{space 1}{res:{txt:laggsratio}{space 6}{txt:=} {space 9}.8}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:10._at}:{space 1}{res:{txt:laggsratio}{space 6}{txt:=} {space 9}.9}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:11._at}:{space 1}{res:{txt:laggsratio}{space 6}{txt:=} {space 10}1}{p_end}
{p2colreset}{...}

{res}{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26} Delta-method
{col 14}{c |}      dy/dx{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}laggsratio   {txt}{c |}
{space 9}_at {c |}
{space 10}1  {c |}{col 14}{res}{space 2} .0143996{col 26}{space 2} .0228188{col 37}{space 1}    0.63{col 46}{space 3}0.528{col 54}{space 4}-.0303244{col 67}{space 3} .0591235
{txt}{space 10}2  {c |}{col 14}{res}{space 2} .0900148{col 26}{space 2} .0943534{col 37}{space 1}    0.95{col 46}{space 3}0.340{col 54}{space 4}-.0949144{col 67}{space 3} .2749439
{txt}{space 10}3  {c |}{col 14}{res}{space 2} .3111562{col 26}{space 2} .1427052{col 37}{space 1}    2.18{col 46}{space 3}0.029{col 54}{space 4}  .031459{col 67}{space 3} .5908533
{txt}{space 10}4  {c |}{col 14}{res}{space 2} .4394056{col 26}{space 2} .0851773{col 37}{space 1}    5.16{col 46}{space 3}0.000{col 54}{space 4} .2724611{col 67}{space 3}   .60635
{txt}{space 10}5  {c |}{col 14}{res}{space 2}  .304394{col 26}{space 2} .1090529{col 37}{space 1}    2.79{col 46}{space 3}0.005{col 54}{space 4} .0906542{col 67}{space 3} .5181339
{txt}{space 10}6  {c |}{col 14}{res}{space 2} .1763535{col 26}{space 2} .0666415{col 37}{space 1}    2.65{col 46}{space 3}0.008{col 54}{space 4} .0457385{col 67}{space 3} .3069685
{txt}{space 10}7  {c |}{col 14}{res}{space 2} .0844823{col 26}{space 2} .0399093{col 37}{space 1}    2.12{col 46}{space 3}0.034{col 54}{space 4} .0062616{col 67}{space 3}  .162703
{txt}{space 10}8  {c |}{col 14}{res}{space 2}-.0034908{col 26}{space 2} .0259194{col 37}{space 1}   -0.13{col 46}{space 3}0.893{col 54}{space 4}-.0542919{col 67}{space 3} .0473104
{txt}{space 10}9  {c |}{col 14}{res}{space 2}-.0914087{col 26}{space 2}  .033607{col 37}{space 1}   -2.72{col 46}{space 3}0.007{col 54}{space 4}-.1572773{col 67}{space 3}-.0255401
{txt}{space 9}10  {c |}{col 14}{res}{space 2}-.1845203{col 26}{space 2} .0547186{col 37}{space 1}   -3.37{col 46}{space 3}0.001{col 54}{space 4}-.2917668{col 67}{space 3}-.0772738
{txt}{space 9}11  {c |}{col 14}{res}{space 2}-.3169793{col 26}{space 2} .0953285{col 37}{space 1}   -3.33{col 46}{space 3}0.001{col 54}{space 4}-.5038198{col 67}{space 3}-.1301389
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. marginsplot, recast(line) recastci(rline)
{res}
{text}{p 2 6 2}Variables that uniquely identify margins: laggsratio{p_end}
{res}{txt}
{com}. 
. *Model 2 & Figure 2B
. logit gp c.laggsratio##c.laggsratio lagmobilization lagbkguer lagmultirebels lagdemdum laglngdppc laglnpop ethnic lagfortroop lagprogovttroops postcoldwar gpyr gpyr2 gpyr3, cluster(ccode)

{res}{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-556.92852}  
Iteration 1:{space 3}log pseudolikelihood = {res:-322.66805}  
Iteration 2:{space 3}log pseudolikelihood = {res:-198.41217}  
Iteration 3:{space 3}log pseudolikelihood = {res:-151.63764}  
Iteration 4:{space 3}log pseudolikelihood = {res:-137.78065}  
Iteration 5:{space 3}log pseudolikelihood = {res: -132.3351}  
Iteration 6:{space 3}log pseudolikelihood = {res:-131.48426}  
Iteration 7:{space 3}log pseudolikelihood = {res:-131.37344}  
Iteration 8:{space 3}log pseudolikelihood = {res:-131.37158}  
Iteration 9:{space 3}log pseudolikelihood = {res:-131.37158}  
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}     1,520
{txt}{col 49}Wald chi2({res}15{txt}){col 67}= {res}    210.57
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log pseudolikelihood = {res}-131.37158{txt}{col 49}Pseudo R2{col 67}= {res}    0.7641

{txt}{ralign 91:(Std. Err. adjusted for {res:65} clusters in ccode)}
{hline 26}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 27}{c |}{col 39}    Robust
{col 1}                       gp{col 27}{c |}      Coef.{col 39}   Std. Err.{col 51}      z{col 59}   P>|z|{col 67}     [95% Con{col 80}f. Interval]
{hline 26}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 15}laggsratio {c |}{col 27}{res}{space 2} 17.90868{col 39}{space 2} 6.576383{col 50}{space 1}    2.72{col 59}{space 3}0.006{col 67}{space 4} 5.019203{col 80}{space 3} 30.79815
{txt}{space 25} {c |}
c.laggsratio#c.laggsratio {c |}{col 27}{res}{space 2}-13.54892{col 39}{space 2} 4.858605{col 50}{space 1}   -2.79{col 59}{space 3}0.005{col 67}{space 4}-23.07161{col 80}{space 3}-4.026225
{txt}{space 25} {c |}
{space 10}lagmobilization {c |}{col 27}{res}{space 2}-.0082838{col 39}{space 2} .3352749{col 50}{space 1}   -0.02{col 59}{space 3}0.980{col 67}{space 4}-.6654104{col 80}{space 3} .6488429
{txt}{space 16}lagbkguer {c |}{col 27}{res}{space 2} .8855053{col 39}{space 2} .3442368{col 50}{space 1}    2.57{col 59}{space 3}0.010{col 67}{space 4} .2108134{col 80}{space 3} 1.560197
{txt}{space 11}lagmultirebels {c |}{col 27}{res}{space 2}-.5644109{col 39}{space 2} .3468983{col 50}{space 1}   -1.63{col 59}{space 3}0.104{col 67}{space 4}-1.244319{col 80}{space 3} .1154973
{txt}{space 16}lagdemdum {c |}{col 27}{res}{space 2}-1.270202{col 39}{space 2} .3628246{col 50}{space 1}   -3.50{col 59}{space 3}0.000{col 67}{space 4}-1.981326{col 80}{space 3}-.5590791
{txt}{space 15}laglngdppc {c |}{col 27}{res}{space 2}-.0313338{col 39}{space 2} .2813376{col 50}{space 1}   -0.11{col 59}{space 3}0.911{col 67}{space 4}-.5827454{col 80}{space 3} .5200777
{txt}{space 17}laglnpop {c |}{col 27}{res}{space 2} .1933782{col 39}{space 2} .1961219{col 50}{space 1}    0.99{col 59}{space 3}0.324{col 67}{space 4}-.1910137{col 80}{space 3} .5777701
{txt}{space 19}ethnic {c |}{col 27}{res}{space 2} .6443009{col 39}{space 2} .3106376{col 50}{space 1}    2.07{col 59}{space 3}0.038{col 67}{space 4} .0354624{col 80}{space 3} 1.253139
{txt}{space 14}lagfortroop {c |}{col 27}{res}{space 2}  .402361{col 39}{space 2} .9399168{col 50}{space 1}    0.43{col 59}{space 3}0.669{col 67}{space 4}-1.439842{col 80}{space 3} 2.244564
{txt}{space 9}lagprogovttroops {c |}{col 27}{res}{space 2}-.1701151{col 39}{space 2} .4909893{col 50}{space 1}   -0.35{col 59}{space 3}0.729{col 67}{space 4}-1.132436{col 80}{space 3} .7922062
{txt}{space 14}postcoldwar {c |}{col 27}{res}{space 2}-.7013236{col 39}{space 2} .3692434{col 50}{space 1}   -1.90{col 59}{space 3}0.058{col 67}{space 4}-1.425027{col 80}{space 3} .0223801
{txt}{space 21}gpyr {c |}{col 27}{res}{space 2}-2.893547{col 39}{space 2} .6227303{col 50}{space 1}   -4.65{col 59}{space 3}0.000{col 67}{space 4}-4.114076{col 80}{space 3}-1.673018
{txt}{space 20}gpyr2 {c |}{col 27}{res}{space 2} .1769451{col 39}{space 2} .0381437{col 50}{space 1}    4.64{col 59}{space 3}0.000{col 67}{space 4} .1021848{col 80}{space 3} .2517054
{txt}{space 20}gpyr3 {c |}{col 27}{res}{space 2}-.0028323{col 39}{space 2} .0006637{col 50}{space 1}   -4.27{col 59}{space 3}0.000{col 67}{space 4}-.0041332{col 80}{space 3}-.0015314
{txt}{space 20}_cons {c |}{col 27}{res}{space 2}-5.185098{col 39}{space 2} 3.886055{col 50}{space 1}   -1.33{col 59}{space 3}0.182{col 67}{space 4}-12.80163{col 80}{space 3}  2.43143
{txt}{hline 26}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: 129 failures and 0 successes completely determined.{p_end}

{com}. margins, dydx( laggsratio ) at( laggsratio =(0 (.1) 1)) vsquish l(95)
{res}
{txt}Average marginal effects{col 49}Number of obs{col 67}= {res}     1,520
{txt}{col 1}Model VCE{col 14}: {res}Robust

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Pr(gp), predict()}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:dy/dx w.r.t.}:{space 1}{res:laggsratio}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:1._at}:{space 1}{res:{txt:laggsratio}{space 6}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:2._at}:{space 1}{res:{txt:laggsratio}{space 6}{txt:=} {space 9}.1}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:3._at}:{space 1}{res:{txt:laggsratio}{space 6}{txt:=} {space 9}.2}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:4._at}:{space 1}{res:{txt:laggsratio}{space 6}{txt:=} {space 9}.3}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:5._at}:{space 1}{res:{txt:laggsratio}{space 6}{txt:=} {space 9}.4}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:6._at}:{space 1}{res:{txt:laggsratio}{space 6}{txt:=} {space 9}.5}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:7._at}:{space 1}{res:{txt:laggsratio}{space 6}{txt:=} {space 9}.6}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:8._at}:{space 1}{res:{txt:laggsratio}{space 6}{txt:=} {space 9}.7}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:9._at}:{space 1}{res:{txt:laggsratio}{space 6}{txt:=} {space 9}.8}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:10._at}:{space 1}{res:{txt:laggsratio}{space 6}{txt:=} {space 9}.9}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:11._at}:{space 1}{res:{txt:laggsratio}{space 6}{txt:=} {space 10}1}{p_end}
{p2colreset}{...}

{res}{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26} Delta-method
{col 14}{c |}      dy/dx{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}laggsratio   {txt}{c |}
{space 9}_at {c |}
{space 10}1  {c |}{col 14}{res}{space 2} .0953976{col 26}{space 2} .1454329{col 37}{space 1}    0.66{col 46}{space 3}0.512{col 54}{space 4}-.1896455{col 67}{space 3} .3804408
{txt}{space 10}2  {c |}{col 14}{res}{space 2} .2702785{col 26}{space 2} .1676589{col 37}{space 1}    1.61{col 46}{space 3}0.107{col 54}{space 4}-.0583268{col 67}{space 3} .5988839
{txt}{space 10}3  {c |}{col 14}{res}{space 2} .3783691{col 26}{space 2} .0805116{col 37}{space 1}    4.70{col 46}{space 3}0.000{col 54}{space 4} .2205693{col 67}{space 3} .5361688
{txt}{space 10}4  {c |}{col 14}{res}{space 2} .3063504{col 26}{space 2} .1417365{col 37}{space 1}    2.16{col 46}{space 3}0.031{col 54}{space 4}  .028552{col 67}{space 3} .5841487
{txt}{space 10}5  {c |}{col 14}{res}{space 2} .1992601{col 26}{space 2} .0996304{col 37}{space 1}    2.00{col 46}{space 3}0.046{col 54}{space 4} .0039882{col 67}{space 3}  .394532
{txt}{space 10}6  {c |}{col 14}{res}{space 2} .1173781{col 26}{space 2} .0641664{col 37}{space 1}    1.83{col 46}{space 3}0.067{col 54}{space 4}-.0083857{col 67}{space 3}  .243142
{txt}{space 10}7  {c |}{col 14}{res}{space 2} .0444482{col 26}{space 2} .0422067{col 37}{space 1}    1.05{col 46}{space 3}0.292{col 54}{space 4}-.0382754{col 67}{space 3} .1271719
{txt}{space 10}8  {c |}{col 14}{res}{space 2}-.0285812{col 26}{space 2} .0354207{col 37}{space 1}   -0.81{col 46}{space 3}0.420{col 54}{space 4}-.0980044{col 67}{space 3} .0408421
{txt}{space 10}9  {c |}{col 14}{res}{space 2}-.1013049{col 26}{space 2} .0480558{col 37}{space 1}   -2.11{col 46}{space 3}0.035{col 54}{space 4}-.1954925{col 67}{space 3}-.0071173
{txt}{space 9}10  {c |}{col 14}{res}{space 2}-.1796243{col 26}{space 2} .0722064{col 37}{space 1}   -2.49{col 46}{space 3}0.013{col 54}{space 4}-.3211462{col 67}{space 3}-.0381025
{txt}{space 9}11  {c |}{col 14}{res}{space 2}-.2814593{col 26}{space 2} .1137337{col 37}{space 1}   -2.47{col 46}{space 3}0.013{col 54}{space 4}-.5043733{col 67}{space 3}-.0585453
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. marginsplot, recast(line) recastci(rline)
{res}
{text}{p 2 6 2}Variables that uniquely identify margins: laggsratio{p_end}
{res}{txt}
{com}. 
. *Model 3 & Figure 3
. logit gp c.laggsratio##c.laggsratio##c.lnduration lagmobilization lagmultirebels lagbkguer lagdemdum laglngdppc laglnpop ethnic lagfortroop lagprogovttroops postcoldwar gpyr gpyr2 gpyr3, cluster(ccode)

{res}{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-488.33404}  
Iteration 1:{space 3}log pseudolikelihood = {res:-279.51541}  
Iteration 2:{space 3}log pseudolikelihood = {res:-168.10352}  
Iteration 3:{space 3}log pseudolikelihood = {res:-126.09084}  
Iteration 4:{space 3}log pseudolikelihood = {res: -112.9626}  
Iteration 5:{space 3}log pseudolikelihood = {res:-109.30992}  
Iteration 6:{space 3}log pseudolikelihood = {res:-108.68878}  
Iteration 7:{space 3}log pseudolikelihood = {res:-108.65454}  
Iteration 8:{space 3}log pseudolikelihood = {res: -108.6544}  
Iteration 9:{space 3}log pseudolikelihood = {res: -108.6544}  
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}     1,342
{txt}{col 49}Wald chi2({res}18{txt}){col 67}= {res}    240.57
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log pseudolikelihood = {res} -108.6544{txt}{col 49}Pseudo R2{col 67}= {res}    0.7775

{txt}{ralign 92:(Std. Err. adjusted for {res:58} clusters in ccode)}
{hline 27}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 28}{c |}{col 40}    Robust
{col 1}                        gp{col 28}{c |}      Coef.{col 40}   Std. Err.{col 52}      z{col 60}   P>|z|{col 68}     [95% Con{col 81}f. Interval]
{hline 27}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 16}laggsratio {c |}{col 28}{res}{space 2} 4.852948{col 40}{space 2}   13.091{col 51}{space 1}    0.37{col 60}{space 3}0.711{col 68}{space 4}-20.80494{col 81}{space 3} 30.51083
{txt}{space 26} {c |}
{space 1}c.laggsratio#c.laggsratio {c |}{col 28}{res}{space 2} -3.93974{col 40}{space 2} 9.429819{col 51}{space 1}   -0.42{col 60}{space 3}0.676{col 68}{space 4}-22.42185{col 81}{space 3} 14.54237
{txt}{space 26} {c |}
{space 16}lnduration {c |}{col 28}{res}{space 2}-4.050952{col 40}{space 2}  3.12974{col 51}{space 1}   -1.29{col 60}{space 3}0.196{col 68}{space 4}-10.18513{col 81}{space 3} 2.083225
{txt}{space 26} {c |}
{space 1}c.laggsratio#c.lnduration {c |}{col 28}{res}{space 2} 10.99905{col 40}{space 2} 9.116631{col 51}{space 1}    1.21{col 60}{space 3}0.228{col 68}{space 4}-6.869214{col 81}{space 3} 28.86732
{txt}{space 26} {c |}
{space 1}c.laggsratio#c.laggsratio#{c |}
{space 14}c.lnduration {c |}{col 28}{res}{space 2} -7.73332{col 40}{space 2} 6.212144{col 51}{space 1}   -1.24{col 60}{space 3}0.213{col 68}{space 4} -19.9089{col 81}{space 3} 4.442259
{txt}{space 26} {c |}
{space 11}lagmobilization {c |}{col 28}{res}{space 2} .2826166{col 40}{space 2}  .450876{col 51}{space 1}    0.63{col 60}{space 3}0.531{col 68}{space 4}-.6010842{col 81}{space 3} 1.166317
{txt}{space 12}lagmultirebels {c |}{col 28}{res}{space 2}-.3978513{col 40}{space 2} .3870659{col 51}{space 1}   -1.03{col 60}{space 3}0.304{col 68}{space 4}-1.156487{col 81}{space 3}  .360784
{txt}{space 17}lagbkguer {c |}{col 28}{res}{space 2} 1.248521{col 40}{space 2} .4139142{col 51}{space 1}    3.02{col 60}{space 3}0.003{col 68}{space 4} .4372641{col 81}{space 3} 2.059778
{txt}{space 17}lagdemdum {c |}{col 28}{res}{space 2}-1.402802{col 40}{space 2} .4166911{col 51}{space 1}   -3.37{col 60}{space 3}0.001{col 68}{space 4}-2.219502{col 81}{space 3}-.5861024
{txt}{space 16}laglngdppc {c |}{col 28}{res}{space 2} .1183289{col 40}{space 2} .2973829{col 51}{space 1}    0.40{col 60}{space 3}0.691{col 68}{space 4} -.464531{col 81}{space 3} .7011887
{txt}{space 18}laglnpop {c |}{col 28}{res}{space 2} .2334237{col 40}{space 2} .2589836{col 51}{space 1}    0.90{col 60}{space 3}0.367{col 68}{space 4}-.2741748{col 81}{space 3} .7410222
{txt}{space 20}ethnic {c |}{col 28}{res}{space 2} 1.017883{col 40}{space 2} .3216077{col 51}{space 1}    3.16{col 60}{space 3}0.002{col 68}{space 4} .3875434{col 81}{space 3} 1.648222
{txt}{space 15}lagfortroop {c |}{col 28}{res}{space 2} 1.203325{col 40}{space 2} .9246227{col 51}{space 1}    1.30{col 60}{space 3}0.193{col 68}{space 4}-.6089024{col 81}{space 3} 3.015552
{txt}{space 10}lagprogovttroops {c |}{col 28}{res}{space 2}-.3456495{col 40}{space 2} .5308726{col 51}{space 1}   -0.65{col 60}{space 3}0.515{col 68}{space 4}-1.386141{col 81}{space 3} .6948418
{txt}{space 15}postcoldwar {c |}{col 28}{res}{space 2}-1.260691{col 40}{space 2}  .491976{col 51}{space 1}   -2.56{col 60}{space 3}0.010{col 68}{space 4}-2.224946{col 81}{space 3}-.2964355
{txt}{space 22}gpyr {c |}{col 28}{res}{space 2}-2.841329{col 40}{space 2} .7080156{col 51}{space 1}   -4.01{col 60}{space 3}0.000{col 68}{space 4}-4.229015{col 81}{space 3}-1.453644
{txt}{space 21}gpyr2 {c |}{col 28}{res}{space 2} .1729526{col 40}{space 2}  .042918{col 51}{space 1}    4.03{col 60}{space 3}0.000{col 68}{space 4} .0888348{col 81}{space 3} .2570704
{txt}{space 21}gpyr3 {c |}{col 28}{res}{space 2} -.002753{col 40}{space 2} .0006803{col 51}{space 1}   -4.05{col 60}{space 3}0.000{col 68}{space 4}-.0040864{col 81}{space 3}-.0014196
{txt}{space 21}_cons {c |}{col 28}{res}{space 2}-2.444339{col 40}{space 2} 6.379868{col 51}{space 1}   -0.38{col 60}{space 3}0.702{col 68}{space 4}-14.94865{col 81}{space 3} 10.05997
{txt}{hline 27}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: 110 failures and 0 successes completely determined.{p_end}

{com}. margins, dydx( laggsratio ) at( lnduration =(0 (.1) 4)) vsquish l(95)
{res}
{txt}Average marginal effects{col 49}Number of obs{col 67}= {res}     1,342
{txt}{col 1}Model VCE{col 14}: {res}Robust

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Pr(gp), predict()}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:dy/dx w.r.t.}:{space 1}{res:laggsratio}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:1._at}:{space 1}{res:{txt:lnduration}{space 6}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:2._at}:{space 1}{res:{txt:lnduration}{space 6}{txt:=} {space 9}.1}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:3._at}:{space 1}{res:{txt:lnduration}{space 6}{txt:=} {space 9}.2}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:4._at}:{space 1}{res:{txt:lnduration}{space 6}{txt:=} {space 9}.3}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:5._at}:{space 1}{res:{txt:lnduration}{space 6}{txt:=} {space 9}.4}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:6._at}:{space 1}{res:{txt:lnduration}{space 6}{txt:=} {space 9}.5}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:7._at}:{space 1}{res:{txt:lnduration}{space 6}{txt:=} {space 9}.6}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:8._at}:{space 1}{res:{txt:lnduration}{space 6}{txt:=} {space 9}.7}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:9._at}:{space 1}{res:{txt:lnduration}{space 6}{txt:=} {space 9}.8}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:10._at}:{space 1}{res:{txt:lnduration}{space 6}{txt:=} {space 9}.9}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:11._at}:{space 1}{res:{txt:lnduration}{space 6}{txt:=} {space 10}1}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:12._at}:{space 1}{res:{txt:lnduration}{space 6}{txt:=} {space 8}1.1}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:13._at}:{space 1}{res:{txt:lnduration}{space 6}{txt:=} {space 8}1.2}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:14._at}:{space 1}{res:{txt:lnduration}{space 6}{txt:=} {space 8}1.3}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:15._at}:{space 1}{res:{txt:lnduration}{space 6}{txt:=} {space 8}1.4}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:16._at}:{space 1}{res:{txt:lnduration}{space 6}{txt:=} {space 8}1.5}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:17._at}:{space 1}{res:{txt:lnduration}{space 6}{txt:=} {space 8}1.6}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:18._at}:{space 1}{res:{txt:lnduration}{space 6}{txt:=} {space 8}1.7}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:19._at}:{space 1}{res:{txt:lnduration}{space 6}{txt:=} {space 8}1.8}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:20._at}:{space 1}{res:{txt:lnduration}{space 6}{txt:=} {space 8}1.9}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:21._at}:{space 1}{res:{txt:lnduration}{space 6}{txt:=} {space 10}2}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:22._at}:{space 1}{res:{txt:lnduration}{space 6}{txt:=} {space 8}2.1}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:23._at}:{space 1}{res:{txt:lnduration}{space 6}{txt:=} {space 8}2.2}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:24._at}:{space 1}{res:{txt:lnduration}{space 6}{txt:=} {space 8}2.3}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:25._at}:{space 1}{res:{txt:lnduration}{space 6}{txt:=} {space 8}2.4}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:26._at}:{space 1}{res:{txt:lnduration}{space 6}{txt:=} {space 8}2.5}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:27._at}:{space 1}{res:{txt:lnduration}{space 6}{txt:=} {space 8}2.6}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:28._at}:{space 1}{res:{txt:lnduration}{space 6}{txt:=} {space 8}2.7}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:29._at}:{space 1}{res:{txt:lnduration}{space 6}{txt:=} {space 8}2.8}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:30._at}:{space 1}{res:{txt:lnduration}{space 6}{txt:=} {space 8}2.9}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:31._at}:{space 1}{res:{txt:lnduration}{space 6}{txt:=} {space 10}3}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:32._at}:{space 1}{res:{txt:lnduration}{space 6}{txt:=} {space 8}3.1}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:33._at}:{space 1}{res:{txt:lnduration}{space 6}{txt:=} {space 8}3.2}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:34._at}:{space 1}{res:{txt:lnduration}{space 6}{txt:=} {space 8}3.3}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:35._at}:{space 1}{res:{txt:lnduration}{space 6}{txt:=} {space 8}3.4}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:36._at}:{space 1}{res:{txt:lnduration}{space 6}{txt:=} {space 8}3.5}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:37._at}:{space 1}{res:{txt:lnduration}{space 6}{txt:=} {space 8}3.6}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:38._at}:{space 1}{res:{txt:lnduration}{space 6}{txt:=} {space 8}3.7}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:39._at}:{space 1}{res:{txt:lnduration}{space 6}{txt:=} {space 8}3.8}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:40._at}:{space 1}{res:{txt:lnduration}{space 6}{txt:=} {space 8}3.9}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:41._at}:{space 1}{res:{txt:lnduration}{space 6}{txt:=} {space 10}4}{p_end}
{p2colreset}{...}

{res}{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26} Delta-method
{col 14}{c |}      dy/dx{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}laggsratio   {txt}{c |}
{space 9}_at {c |}
{space 10}1  {c |}{col 14}{res}{space 2}-.0451256{col 26}{space 2} .0815284{col 37}{space 1}   -0.55{col 46}{space 3}0.580{col 54}{space 4}-.2049184{col 67}{space 3} .1146672
{txt}{space 10}2  {c |}{col 14}{res}{space 2}-.0501055{col 26}{space 2} .0790035{col 37}{space 1}   -0.63{col 46}{space 3}0.526{col 54}{space 4}-.2049495{col 67}{space 3} .1047384
{txt}{space 10}3  {c |}{col 14}{res}{space 2}-.0551711{col 26}{space 2} .0764352{col 37}{space 1}   -0.72{col 46}{space 3}0.470{col 54}{space 4}-.2049814{col 67}{space 3} .0946391
{txt}{space 10}4  {c |}{col 14}{res}{space 2}-.0603047{col 26}{space 2} .0737364{col 37}{space 1}   -0.82{col 46}{space 3}0.413{col 54}{space 4}-.2048253{col 67}{space 3} .0842159
{txt}{space 10}5  {c |}{col 14}{res}{space 2} -.065482{col 26}{space 2} .0709545{col 37}{space 1}   -0.92{col 46}{space 3}0.356{col 54}{space 4}-.2045503{col 67}{space 3} .0735862
{txt}{space 10}6  {c |}{col 14}{res}{space 2} -.070685{col 26}{space 2}  .068194{col 37}{space 1}   -1.04{col 46}{space 3}0.300{col 54}{space 4}-.2043427{col 67}{space 3} .0629727
{txt}{space 10}7  {c |}{col 14}{res}{space 2}-.0759061{col 26}{space 2} .0655504{col 37}{space 1}   -1.16{col 46}{space 3}0.247{col 54}{space 4}-.2043826{col 67}{space 3} .0525704
{txt}{space 10}8  {c |}{col 14}{res}{space 2}-.0811465{col 26}{space 2} .0630873{col 37}{space 1}   -1.29{col 46}{space 3}0.198{col 54}{space 4}-.2047954{col 67}{space 3} .0425024
{txt}{space 10}9  {c |}{col 14}{res}{space 2} -.086412{col 26}{space 2} .0608402{col 37}{space 1}   -1.42{col 46}{space 3}0.156{col 54}{space 4}-.2056567{col 67}{space 3} .0328326
{txt}{space 9}10  {c |}{col 14}{res}{space 2}-.0917097{col 26}{space 2} .0588288{col 37}{space 1}   -1.56{col 46}{space 3}0.119{col 54}{space 4} -.207012{col 67}{space 3} .0235927
{txt}{space 9}11  {c |}{col 14}{res}{space 2}-.0970449{col 26}{space 2} .0570672{col 37}{space 1}   -1.70{col 46}{space 3}0.089{col 54}{space 4}-.2088946{col 67}{space 3} .0148047
{txt}{space 9}12  {c |}{col 14}{res}{space 2}-.1024208{col 26}{space 2} .0555691{col 37}{space 1}   -1.84{col 46}{space 3}0.065{col 54}{space 4}-.2113342{col 67}{space 3} .0064926
{txt}{space 9}13  {c |}{col 14}{res}{space 2}-.1078375{col 26}{space 2} .0543494{col 37}{space 1}   -1.98{col 46}{space 3}0.047{col 54}{space 4}-.2143604{col 67}{space 3}-.0013146
{txt}{space 9}14  {c |}{col 14}{res}{space 2}-.1132924{col 26}{space 2} .0534238{col 37}{space 1}   -2.12{col 46}{space 3}0.034{col 54}{space 4}-.2180012{col 67}{space 3}-.0085837
{txt}{space 9}15  {c |}{col 14}{res}{space 2}-.1187806{col 26}{space 2} .0528063{col 37}{space 1}   -2.25{col 46}{space 3}0.024{col 54}{space 4}-.2222791{col 67}{space 3}-.0152822
{txt}{space 9}16  {c |}{col 14}{res}{space 2}-.1242951{col 26}{space 2} .0525071{col 37}{space 1}   -2.37{col 46}{space 3}0.018{col 54}{space 4}-.2272072{col 67}{space 3} -.021383
{txt}{space 9}17  {c |}{col 14}{res}{space 2}-.1298272{col 26}{space 2} .0525307{col 37}{space 1}   -2.47{col 46}{space 3}0.013{col 54}{space 4}-.2327855{col 67}{space 3}-.0268688
{txt}{space 9}18  {c |}{col 14}{res}{space 2} -.135367{col 26}{space 2} .0528743{col 37}{space 1}   -2.56{col 46}{space 3}0.010{col 54}{space 4}-.2389986{col 67}{space 3}-.0317353
{txt}{space 9}19  {c |}{col 14}{res}{space 2}-.1409034{col 26}{space 2} .0535271{col 37}{space 1}   -2.63{col 46}{space 3}0.008{col 54}{space 4}-.2458145{col 67}{space 3}-.0359922
{txt}{space 9}20  {c |}{col 14}{res}{space 2}-.1464247{col 26}{space 2} .0544711{col 37}{space 1}   -2.69{col 46}{space 3}0.007{col 54}{space 4}-.2531862{col 67}{space 3}-.0396632
{txt}{space 9}21  {c |}{col 14}{res}{space 2}-.1519186{col 26}{space 2} .0556822{col 37}{space 1}   -2.73{col 46}{space 3}0.006{col 54}{space 4}-.2610538{col 67}{space 3}-.0427835
{txt}{space 9}22  {c |}{col 14}{res}{space 2}-.1573724{col 26}{space 2} .0571315{col 37}{space 1}   -2.75{col 46}{space 3}0.006{col 54}{space 4} -.269348{col 67}{space 3}-.0453967
{txt}{space 9}23  {c |}{col 14}{res}{space 2} -.162773{col 26}{space 2} .0587873{col 37}{space 1}   -2.77{col 46}{space 3}0.006{col 54}{space 4} -.277994{col 67}{space 3}-.0475519
{txt}{space 9}24  {c |}{col 14}{res}{space 2}-.1681076{col 26}{space 2} .0606172{col 37}{space 1}   -2.77{col 46}{space 3}0.006{col 54}{space 4} -.286915{col 67}{space 3}-.0493001
{txt}{space 9}25  {c |}{col 14}{res}{space 2}-.1733633{col 26}{space 2} .0625887{col 37}{space 1}   -2.77{col 46}{space 3}0.006{col 54}{space 4}-.2960349{col 67}{space 3}-.0506916
{txt}{space 9}26  {c |}{col 14}{res}{space 2}-.1785275{col 26}{space 2} .0646714{col 37}{space 1}   -2.76{col 46}{space 3}0.006{col 54}{space 4}-.3052811{col 67}{space 3}-.0517738
{txt}{space 9}27  {c |}{col 14}{res}{space 2} -.183588{col 26}{space 2} .0668369{col 37}{space 1}   -2.75{col 46}{space 3}0.006{col 54}{space 4}-.3145858{col 67}{space 3}-.0525902
{txt}{space 9}28  {c |}{col 14}{res}{space 2}-.1885332{col 26}{space 2} .0690594{col 37}{space 1}   -2.73{col 46}{space 3}0.006{col 54}{space 4}-.3238871{col 67}{space 3}-.0531792
{txt}{space 9}29  {c |}{col 14}{res}{space 2}-.1933517{col 26}{space 2} .0713165{col 37}{space 1}   -2.71{col 46}{space 3}0.007{col 54}{space 4}-.3331295{col 67}{space 3} -.053574
{txt}{space 9}30  {c |}{col 14}{res}{space 2}-.1980333{col 26}{space 2} .0735885{col 37}{space 1}   -2.69{col 46}{space 3}0.007{col 54}{space 4}-.3422641{col 67}{space 3}-.0538024
{txt}{space 9}31  {c |}{col 14}{res}{space 2}-.2025678{col 26}{space 2}  .075859{col 37}{space 1}   -2.67{col 46}{space 3}0.008{col 54}{space 4}-.3512487{col 67}{space 3}-.0538869
{txt}{space 9}32  {c |}{col 14}{res}{space 2}-.2069463{col 26}{space 2} .0781142{col 37}{space 1}   -2.65{col 46}{space 3}0.008{col 54}{space 4}-.3600473{col 67}{space 3}-.0538454
{txt}{space 9}33  {c |}{col 14}{res}{space 2}-.2111604{col 26}{space 2}  .080343{col 37}{space 1}   -2.63{col 46}{space 3}0.009{col 54}{space 4}-.3686298{col 67}{space 3}-.0536911
{txt}{space 9}34  {c |}{col 14}{res}{space 2}-.2152025{col 26}{space 2} .0825368{col 37}{space 1}   -2.61{col 46}{space 3}0.009{col 54}{space 4}-.3769716{col 67}{space 3}-.0534333
{txt}{space 9}35  {c |}{col 14}{res}{space 2}-.2190655{col 26}{space 2} .0846891{col 37}{space 1}   -2.59{col 46}{space 3}0.010{col 54}{space 4}-.3850532{col 67}{space 3}-.0530779
{txt}{space 9}36  {c |}{col 14}{res}{space 2}-.2227435{col 26}{space 2} .0867954{col 37}{space 1}   -2.57{col 46}{space 3}0.010{col 54}{space 4}-.3928594{col 67}{space 3}-.0526276
{txt}{space 9}37  {c |}{col 14}{res}{space 2}-.2262308{col 26}{space 2} .0888529{col 37}{space 1}   -2.55{col 46}{space 3}0.011{col 54}{space 4}-.4003793{col 67}{space 3}-.0520824
{txt}{space 9}38  {c |}{col 14}{res}{space 2}-.2295228{col 26}{space 2} .0908601{col 37}{space 1}   -2.53{col 46}{space 3}0.012{col 54}{space 4}-.4076052{col 67}{space 3}-.0514403
{txt}{space 9}39  {c |}{col 14}{res}{space 2} -.232615{col 26}{space 2} .0928167{col 37}{space 1}   -2.51{col 46}{space 3}0.012{col 54}{space 4}-.4145325{col 67}{space 3}-.0506975
{txt}{space 9}40  {c |}{col 14}{res}{space 2} -.235504{col 26}{space 2} .0947237{col 37}{space 1}   -2.49{col 46}{space 3}0.013{col 54}{space 4} -.421159{col 67}{space 3} -.049849
{txt}{space 9}41  {c |}{col 14}{res}{space 2}-.2381866{col 26}{space 2} .0965825{col 37}{space 1}   -2.47{col 46}{space 3}0.014{col 54}{space 4}-.4274848{col 67}{space 3}-.0488884
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. marginsplot, recast(line) recastci(rline)
{res}
{text}{p 2 6 2}Variables that uniquely identify margins: lnduration{p_end}
{res}{txt}
{com}. 
. *Model 4 & Figure 4A
. logit gp c.laggsratio##c.laggsratio##i.lagmobilization lagbkguer lagmultirebels lagdemdum laglngdppc laglnpop ethnic lagfortroop lagprogovttroops postcoldwar gpyr gpyr2 gpyr3, cluster(ccode)

{res}{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-556.92852}  
Iteration 1:{space 3}log pseudolikelihood = {res:-317.56523}  
Iteration 2:{space 3}log pseudolikelihood = {res:-193.59075}  
Iteration 3:{space 3}log pseudolikelihood = {res:-148.56318}  
Iteration 4:{space 3}log pseudolikelihood = {res:-135.18492}  
Iteration 5:{space 3}log pseudolikelihood = {res:-131.07767}  
Iteration 6:{space 3}log pseudolikelihood = {res:-129.63929}  
Iteration 7:{space 3}log pseudolikelihood = {res: -129.5429}  
Iteration 8:{space 3}log pseudolikelihood = {res:-129.54211}  
Iteration 9:{space 3}log pseudolikelihood = {res:-129.54211}  
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}     1,520
{txt}{col 49}Wald chi2({res}17{txt}){col 67}= {res}    244.67
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log pseudolikelihood = {res}-129.54211{txt}{col 49}Pseudo R2{col 67}= {res}    0.7674

{txt}{ralign 95:(Std. Err. adjusted for {res:65} clusters in ccode)}
{hline 30}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 31}{c |}{col 43}    Robust
{col 1}                           gp{col 31}{c |}      Coef.{col 43}   Std. Err.{col 55}      z{col 63}   P>|z|{col 71}     [95% Con{col 84}f. Interval]
{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 19}laggsratio {c |}{col 31}{res}{space 2} 5.298644{col 43}{space 2} 10.52492{col 54}{space 1}    0.50{col 63}{space 3}0.615{col 71}{space 4}-15.32982{col 84}{space 3} 25.92711
{txt}{space 29} {c |}
{space 4}c.laggsratio#c.laggsratio {c |}{col 31}{res}{space 2}-4.362055{col 43}{space 2} 7.758783{col 54}{space 1}   -0.56{col 63}{space 3}0.574{col 71}{space 4}-19.56899{col 84}{space 3} 10.84488
{txt}{space 29} {c |}
{space 12}1.lagmobilization {c |}{col 31}{res}{space 2}-10.16371{col 43}{space 2} 6.340534{col 54}{space 1}   -1.60{col 63}{space 3}0.109{col 71}{space 4}-22.59092{col 84}{space 3} 2.263512
{txt}{space 29} {c |}
{space 1}lagmobilization#c.laggsratio {c |}
{space 27}1  {c |}{col 31}{res}{space 2} 30.63449{col 43}{space 2} 17.66344{col 54}{space 1}    1.73{col 63}{space 3}0.083{col 71}{space 4} -3.98522{col 84}{space 3} 65.25419
{txt}{space 29} {c |}
{space 1}lagmobilization#c.laggsratio#{c |}
{space 17}c.laggsratio {c |}
{space 27}1  {c |}{col 31}{res}{space 2}-21.09534{col 43}{space 2} 11.88317{col 54}{space 1}   -1.78{col 63}{space 3}0.076{col 71}{space 4}-44.38592{col 84}{space 3} 2.195242
{txt}{space 29} {c |}
{space 20}lagbkguer {c |}{col 31}{res}{space 2} .9431238{col 43}{space 2} .3513405{col 54}{space 1}    2.68{col 63}{space 3}0.007{col 71}{space 4} .2545092{col 84}{space 3} 1.631738
{txt}{space 15}lagmultirebels {c |}{col 31}{res}{space 2} -.616573{col 43}{space 2} .3359849{col 54}{space 1}   -1.84{col 63}{space 3}0.066{col 71}{space 4}-1.275091{col 84}{space 3} .0419452
{txt}{space 20}lagdemdum {c |}{col 31}{res}{space 2}-1.334992{col 43}{space 2} .3668522{col 54}{space 1}   -3.64{col 63}{space 3}0.000{col 71}{space 4}-2.054009{col 84}{space 3}-.6159754
{txt}{space 19}laglngdppc {c |}{col 31}{res}{space 2}-.0329521{col 43}{space 2} .2947783{col 54}{space 1}   -0.11{col 63}{space 3}0.911{col 71}{space 4} -.610707{col 84}{space 3} .5448028
{txt}{space 21}laglnpop {c |}{col 31}{res}{space 2}  .163482{col 43}{space 2} .1899582{col 54}{space 1}    0.86{col 63}{space 3}0.389{col 71}{space 4}-.2088293{col 84}{space 3} .5357933
{txt}{space 23}ethnic {c |}{col 31}{res}{space 2} .6963434{col 43}{space 2} .2925369{col 54}{space 1}    2.38{col 63}{space 3}0.017{col 71}{space 4} .1229817{col 84}{space 3} 1.269705
{txt}{space 18}lagfortroop {c |}{col 31}{res}{space 2} .5227456{col 43}{space 2} .9910769{col 54}{space 1}    0.53{col 63}{space 3}0.598{col 71}{space 4} -1.41973{col 84}{space 3} 2.465221
{txt}{space 13}lagprogovttroops {c |}{col 31}{res}{space 2}-.0747295{col 43}{space 2}  .508774{col 54}{space 1}   -0.15{col 63}{space 3}0.883{col 71}{space 4}-1.071908{col 84}{space 3} .9224493
{txt}{space 18}postcoldwar {c |}{col 31}{res}{space 2}-.6809596{col 43}{space 2} .3826191{col 54}{space 1}   -1.78{col 63}{space 3}0.075{col 71}{space 4}-1.430879{col 84}{space 3} .0689601
{txt}{space 25}gpyr {c |}{col 31}{res}{space 2}-2.791114{col 43}{space 2} .6168944{col 54}{space 1}   -4.52{col 63}{space 3}0.000{col 71}{space 4}-4.000205{col 84}{space 3}-1.582024
{txt}{space 24}gpyr2 {c |}{col 31}{res}{space 2} .1703216{col 43}{space 2} .0377084{col 54}{space 1}    4.52{col 63}{space 3}0.000{col 71}{space 4} .0964146{col 84}{space 3} .2442286
{txt}{space 24}gpyr3 {c |}{col 31}{res}{space 2}-.0027218{col 43}{space 2} .0006326{col 54}{space 1}   -4.30{col 63}{space 3}0.000{col 71}{space 4}-.0039616{col 84}{space 3} -.001482
{txt}{space 24}_cons {c |}{col 31}{res}{space 2}-1.299642{col 43}{space 2} 4.949675{col 54}{space 1}   -0.26{col 63}{space 3}0.793{col 71}{space 4}-11.00083{col 84}{space 3} 8.401544
{txt}{hline 30}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: 130 failures and 0 successes completely determined.{p_end}

{com}. margins, dydx( laggsratio ) at( laggsratio =(0 (.1) 1)) vsquish l(95) by( lagmobilization)
{res}
{txt}Average marginal effects{col 49}Number of obs{col 67}= {res}     1,520
{txt}{col 1}Model VCE{col 14}: {res}Robust

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Pr(gp), predict()}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:dy/dx w.r.t.}:{space 1}{res:laggsratio}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:over}:{space 1}{res:lagmobilization}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:1._at}:{space 1}{res:0.lagmobilization}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{space 4}{txt:laggsratio}{space 6}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:1.lagmobilization}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{space 4}{txt:laggsratio}{space 6}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:2._at}:{space 1}{res:0.lagmobilization}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{space 4}{txt:laggsratio}{space 6}{txt:=} {space 9}.1}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:1.lagmobilization}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{space 4}{txt:laggsratio}{space 6}{txt:=} {space 9}.1}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:3._at}:{space 1}{res:0.lagmobilization}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{space 4}{txt:laggsratio}{space 6}{txt:=} {space 9}.2}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:1.lagmobilization}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{space 4}{txt:laggsratio}{space 6}{txt:=} {space 9}.2}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:4._at}:{space 1}{res:0.lagmobilization}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{space 4}{txt:laggsratio}{space 6}{txt:=} {space 9}.3}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:1.lagmobilization}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{space 4}{txt:laggsratio}{space 6}{txt:=} {space 9}.3}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:5._at}:{space 1}{res:0.lagmobilization}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{space 4}{txt:laggsratio}{space 6}{txt:=} {space 9}.4}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:1.lagmobilization}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{space 4}{txt:laggsratio}{space 6}{txt:=} {space 9}.4}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:6._at}:{space 1}{res:0.lagmobilization}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{space 4}{txt:laggsratio}{space 6}{txt:=} {space 9}.5}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:1.lagmobilization}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{space 4}{txt:laggsratio}{space 6}{txt:=} {space 9}.5}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:7._at}:{space 1}{res:0.lagmobilization}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{space 4}{txt:laggsratio}{space 6}{txt:=} {space 9}.6}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:1.lagmobilization}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{space 4}{txt:laggsratio}{space 6}{txt:=} {space 9}.6}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:8._at}:{space 1}{res:0.lagmobilization}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{space 4}{txt:laggsratio}{space 6}{txt:=} {space 9}.7}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:1.lagmobilization}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{space 4}{txt:laggsratio}{space 6}{txt:=} {space 9}.7}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:9._at}:{space 1}{res:0.lagmobilization}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{space 4}{txt:laggsratio}{space 6}{txt:=} {space 9}.8}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:1.lagmobilization}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{space 4}{txt:laggsratio}{space 6}{txt:=} {space 9}.8}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:10._at}:{space 1}{res:0.lagmobilization}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{space 4}{txt:laggsratio}{space 6}{txt:=} {space 9}.9}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:1.lagmobilization}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{space 4}{txt:laggsratio}{space 6}{txt:=} {space 9}.9}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:11._at}:{space 1}{res:0.lagmobilization}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{space 4}{txt:laggsratio}{space 6}{txt:=} {space 10}1}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:1.lagmobilization}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{space 4}{txt:laggsratio}{space 6}{txt:=} {space 10}1}{p_end}
{p2colreset}{...}

{res}{txt}{hline 20}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 21}{c |}{col 33} Delta-method
{col 21}{c |}      dy/dx{col 33}   Std. Err.{col 45}      z{col 53}   P>|z|{col 61}     [95% Con{col 74}f. Interval]
{hline 20}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}laggsratio          {txt}{c |}
_at#lagmobilization {c |}
{space 14} 1 0  {c |}{col 21}{res}{space 2} .1131267{col 33}{space 2} .1892256{col 44}{space 1}    0.60{col 53}{space 3}0.550{col 61}{space 4}-.2577486{col 74}{space 3} .4840021
{txt}{space 14} 1 1  {c |}{col 21}{res}{space 2} .0003766{col 33}{space 2} .0015657{col 44}{space 1}    0.24{col 53}{space 3}0.810{col 61}{space 4}-.0026922{col 74}{space 3} .0034454
{txt}{space 14} 2 0  {c |}{col 21}{res}{space 2} .0970173{col 33}{space 2} .1890372{col 44}{space 1}    0.51{col 53}{space 3}0.608{col 61}{space 4}-.2734888{col 74}{space 3} .4675233
{txt}{space 14} 2 1  {c |}{col 21}{res}{space 2} .0090692{col 33}{space 2} .0270324{col 44}{space 1}    0.34{col 53}{space 3}0.737{col 61}{space 4}-.0439133{col 74}{space 3} .0620516
{txt}{space 14} 3 0  {c |}{col 21}{res}{space 2} .0781806{col 33}{space 2}  .161565{col 44}{space 1}    0.48{col 53}{space 3}0.628{col 61}{space 4}-.2384809{col 74}{space 3} .3948422
{txt}{space 14} 3 1  {c |}{col 21}{res}{space 2} .1194344{col 33}{space 2} .2206947{col 44}{space 1}    0.54{col 53}{space 3}0.588{col 61}{space 4}-.3131193{col 74}{space 3} .5519881
{txt}{space 14} 4 0  {c |}{col 21}{res}{space 2} .0590902{col 33}{space 2} .1293486{col 44}{space 1}    0.46{col 53}{space 3}0.648{col 61}{space 4}-.1944284{col 74}{space 3} .3126088
{txt}{space 14} 4 1  {c |}{col 21}{res}{space 2} .5733382{col 33}{space 2} .2852991{col 44}{space 1}    2.01{col 53}{space 3}0.044{col 61}{space 4} .0141623{col 74}{space 3} 1.132514
{txt}{space 14} 5 0  {c |}{col 21}{res}{space 2} .0400736{col 33}{space 2} .0988836{col 44}{space 1}    0.41{col 53}{space 3}0.685{col 61}{space 4}-.1537346{col 74}{space 3} .2338819
{txt}{space 14} 5 1  {c |}{col 21}{res}{space 2} .6575862{col 33}{space 2} .2788389{col 44}{space 1}    2.36{col 53}{space 3}0.018{col 61}{space 4}  .111072{col 74}{space 3}   1.2041
{txt}{space 14} 6 0  {c |}{col 21}{res}{space 2}  .020873{col 33}{space 2} .0703754{col 44}{space 1}    0.30{col 53}{space 3}0.767{col 61}{space 4}-.1170602{col 74}{space 3} .1588062
{txt}{space 14} 6 1  {c |}{col 21}{res}{space 2} .3641766{col 33}{space 2} .1777016{col 44}{space 1}    2.05{col 53}{space 3}0.040{col 61}{space 4} .0158878{col 74}{space 3} .7124654
{txt}{space 14} 7 0  {c |}{col 21}{res}{space 2} .0014343{col 33}{space 2} .0469272{col 44}{space 1}    0.03{col 53}{space 3}0.976{col 61}{space 4}-.0905413{col 74}{space 3}   .09341
{txt}{space 14} 7 1  {c |}{col 21}{res}{space 2} .1702471{col 33}{space 2} .0913367{col 44}{space 1}    1.86{col 53}{space 3}0.062{col 61}{space 4}-.0087696{col 74}{space 3} .3492638
{txt}{space 14} 8 0  {c |}{col 21}{res}{space 2}-.0180249{col 33}{space 2} .0411914{col 44}{space 1}   -0.44{col 53}{space 3}0.662{col 61}{space 4}-.0987587{col 74}{space 3} .0627088
{txt}{space 14} 8 1  {c |}{col 21}{res}{space 2} .0092196{col 33}{space 2} .0538079{col 44}{space 1}    0.17{col 53}{space 3}0.864{col 61}{space 4}-.0962419{col 74}{space 3} .1146811
{txt}{space 14} 9 0  {c |}{col 21}{res}{space 2}-.0372653{col 33}{space 2} .0583495{col 44}{space 1}   -0.64{col 53}{space 3}0.523{col 61}{space 4}-.1516282{col 74}{space 3} .0770975
{txt}{space 14} 9 1  {c |}{col 21}{res}{space 2}-.1513875{col 33}{space 2} .0651764{col 44}{space 1}   -2.32{col 53}{space 3}0.020{col 61}{space 4}-.2791308{col 74}{space 3}-.0236441
{txt}{space 14}10 0  {c |}{col 21}{res}{space 2}-.0562933{col 33}{space 2} .0848222{col 44}{space 1}   -0.66{col 53}{space 3}0.507{col 61}{space 4}-.2225418{col 74}{space 3} .1099552
{txt}{space 14}10 1  {c |}{col 21}{res}{space 2} -.337018{col 33}{space 2} .1167992{col 44}{space 1}   -2.89{col 53}{space 3}0.004{col 61}{space 4}-.5659402{col 74}{space 3}-.1080959
{txt}{space 14}11 0  {c |}{col 21}{res}{space 2}-.0753645{col 33}{space 2} .1150002{col 44}{space 1}   -0.66{col 53}{space 3}0.512{col 61}{space 4}-.3007608{col 74}{space 3} .1500318
{txt}{space 14}11 1  {c |}{col 21}{res}{space 2}-.6251882{col 33}{space 2} .2200225{col 44}{space 1}   -2.84{col 53}{space 3}0.004{col 61}{space 4}-1.056424{col 74}{space 3}-.1939522
{txt}{hline 20}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. marginsplot, recast(line) recastci(rline) by( lagmobilization)
{res}
{text}{p 2 6 2}Variables that uniquely identify margins: laggsratio lagmobilization{p_end}
{res}{txt}
{com}. 
. *Model 5 & Figure 4B
. logit gp c.laggsratio##c.laggsratio##i.lagbkguer lagmobilization lagmultirebels lagdemdum laglngdppc laglnpop ethnic lagfortroop lagprogovttroops postcoldwar gpyr gpyr2 gpyr3, cluster(ccode)

{res}{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-556.92852}  
Iteration 1:{space 3}log pseudolikelihood = {res:-320.07575}  
Iteration 2:{space 3}log pseudolikelihood = {res:-198.00334}  
Iteration 3:{space 3}log pseudolikelihood = {res:-151.28798}  
Iteration 4:{space 3}log pseudolikelihood = {res:-136.45512}  
Iteration 5:{space 3}log pseudolikelihood = {res:-132.22818}  
Iteration 6:{space 3}log pseudolikelihood = {res:  -131.103}  
Iteration 7:{space 3}log pseudolikelihood = {res:-131.04332}  
Iteration 8:{space 3}log pseudolikelihood = {res:-131.04301}  
Iteration 9:{space 3}log pseudolikelihood = {res:-131.04301}  
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}     1,520
{txt}{col 49}Wald chi2({res}17{txt}){col 67}= {res}    233.61
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log pseudolikelihood = {res}-131.04301{txt}{col 49}Pseudo R2{col 67}= {res}    0.7647

{txt}{ralign 91:(Std. Err. adjusted for {res:65} clusters in ccode)}
{hline 26}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 27}{c |}{col 39}    Robust
{col 1}                       gp{col 27}{c |}      Coef.{col 39}   Std. Err.{col 51}      z{col 59}   P>|z|{col 67}     [95% Con{col 80}f. Interval]
{hline 26}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 15}laggsratio {c |}{col 27}{res}{space 2} 18.74365{col 39}{space 2} 10.18581{col 50}{space 1}    1.84{col 59}{space 3}0.066{col 67}{space 4}-1.220178{col 80}{space 3} 38.70747
{txt}{space 25} {c |}
c.laggsratio#c.laggsratio {c |}{col 27}{res}{space 2}-13.72291{col 39}{space 2} 7.347581{col 50}{space 1}   -1.87{col 59}{space 3}0.062{col 67}{space 4} -28.1239{col 80}{space 3} .6780863
{txt}{space 25} {c |}
{space 14}1.lagbkguer {c |}{col 27}{res}{space 2} 3.516141{col 39}{space 2} 3.424284{col 50}{space 1}    1.03{col 59}{space 3}0.305{col 67}{space 4}-3.195333{col 80}{space 3} 10.22761
{txt}{space 25} {c |}
{space 3}lagbkguer#c.laggsratio {c |}
{space 23}1  {c |}{col 27}{res}{space 2}-5.539354{col 39}{space 2} 11.14803{col 50}{space 1}   -0.50{col 59}{space 3}0.619{col 67}{space 4}-27.38909{col 80}{space 3} 16.31038
{txt}{space 25} {c |}
{space 3}lagbkguer#c.laggsratio#{c |}
{space 13}c.laggsratio {c |}
{space 23}1  {c |}{col 27}{res}{space 2} 2.732809{col 39}{space 2}  8.18315{col 50}{space 1}    0.33{col 59}{space 3}0.738{col 67}{space 4}-13.30587{col 80}{space 3} 18.77149
{txt}{space 25} {c |}
{space 10}lagmobilization {c |}{col 27}{res}{space 2} .0183028{col 39}{space 2} .3514371{col 50}{space 1}    0.05{col 59}{space 3}0.958{col 67}{space 4}-.6705012{col 80}{space 3} .7071067
{txt}{space 11}lagmultirebels {c |}{col 27}{res}{space 2}-.5865266{col 39}{space 2} .3561657{col 50}{space 1}   -1.65{col 59}{space 3}0.100{col 67}{space 4}-1.284599{col 80}{space 3} .1115454
{txt}{space 16}lagdemdum {c |}{col 27}{res}{space 2}-1.206061{col 39}{space 2} .3721716{col 50}{space 1}   -3.24{col 59}{space 3}0.001{col 67}{space 4}-1.935504{col 80}{space 3}-.4766183
{txt}{space 15}laglngdppc {c |}{col 27}{res}{space 2}-.0411835{col 39}{space 2} .2925737{col 50}{space 1}   -0.14{col 59}{space 3}0.888{col 67}{space 4}-.6146176{col 80}{space 3} .5322505
{txt}{space 17}laglnpop {c |}{col 27}{res}{space 2} .1799232{col 39}{space 2} .1982388{col 50}{space 1}    0.91{col 59}{space 3}0.364{col 67}{space 4}-.2086178{col 80}{space 3} .5684642
{txt}{space 19}ethnic {c |}{col 27}{res}{space 2} .6361236{col 39}{space 2}  .321994{col 50}{space 1}    1.98{col 59}{space 3}0.048{col 67}{space 4}  .005027{col 80}{space 3}  1.26722
{txt}{space 14}lagfortroop {c |}{col 27}{res}{space 2}  .371929{col 39}{space 2} .9440662{col 50}{space 1}    0.39{col 59}{space 3}0.694{col 67}{space 4}-1.478407{col 80}{space 3} 2.222265
{txt}{space 9}lagprogovttroops {c |}{col 27}{res}{space 2} -.130899{col 39}{space 2} .5125154{col 50}{space 1}   -0.26{col 59}{space 3}0.798{col 67}{space 4}-1.135411{col 80}{space 3} .8736126
{txt}{space 14}postcoldwar {c |}{col 27}{res}{space 2}-.6656349{col 39}{space 2} .3707119{col 50}{space 1}   -1.80{col 59}{space 3}0.073{col 67}{space 4}-1.392217{col 80}{space 3} .0609471
{txt}{space 21}gpyr {c |}{col 27}{res}{space 2}-2.886356{col 39}{space 2} .6190134{col 50}{space 1}   -4.66{col 59}{space 3}0.000{col 67}{space 4}  -4.0996{col 80}{space 3}-1.673112
{txt}{space 20}gpyr2 {c |}{col 27}{res}{space 2}  .176466{col 39}{space 2} .0382937{col 50}{space 1}    4.61{col 59}{space 3}0.000{col 67}{space 4} .1014117{col 80}{space 3} .2515202
{txt}{space 20}gpyr3 {c |}{col 27}{res}{space 2}-.0028237{col 39}{space 2} .0006767{col 50}{space 1}   -4.17{col 59}{space 3}0.000{col 67}{space 4}-.0041501{col 80}{space 3}-.0014974
{txt}{space 20}_cons {c |}{col 27}{res}{space 2}-5.562985{col 39}{space 2} 4.611232{col 50}{space 1}   -1.21{col 59}{space 3}0.228{col 67}{space 4}-14.60083{col 80}{space 3} 3.474863
{txt}{hline 26}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{p 0 6 2}Note: 129 failures and 0 successes completely determined.{p_end}

{com}. margins, dydx( laggsratio ) at( laggsratio =(0 (.1) 1)) vsquish l(95) by( lagbkguer)
{res}
{txt}Average marginal effects{col 49}Number of obs{col 67}= {res}     1,520
{txt}{col 1}Model VCE{col 14}: {res}Robust

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Pr(gp), predict()}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:dy/dx w.r.t.}:{space 1}{res:laggsratio}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:over}:{space 1}{res:lagbkguer}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:1._at}:{space 1}{res:0.lagbkguer}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{space 4}{txt:laggsratio}{space 6}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:1.lagbkguer}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{space 4}{txt:laggsratio}{space 6}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:2._at}:{space 1}{res:0.lagbkguer}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{space 4}{txt:laggsratio}{space 6}{txt:=} {space 9}.1}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:1.lagbkguer}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{space 4}{txt:laggsratio}{space 6}{txt:=} {space 9}.1}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:3._at}:{space 1}{res:0.lagbkguer}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{space 4}{txt:laggsratio}{space 6}{txt:=} {space 9}.2}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:1.lagbkguer}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{space 4}{txt:laggsratio}{space 6}{txt:=} {space 9}.2}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:4._at}:{space 1}{res:0.lagbkguer}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{space 4}{txt:laggsratio}{space 6}{txt:=} {space 9}.3}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:1.lagbkguer}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{space 4}{txt:laggsratio}{space 6}{txt:=} {space 9}.3}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:5._at}:{space 1}{res:0.lagbkguer}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{space 4}{txt:laggsratio}{space 6}{txt:=} {space 9}.4}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:1.lagbkguer}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{space 4}{txt:laggsratio}{space 6}{txt:=} {space 9}.4}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:6._at}:{space 1}{res:0.lagbkguer}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{space 4}{txt:laggsratio}{space 6}{txt:=} {space 9}.5}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:1.lagbkguer}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{space 4}{txt:laggsratio}{space 6}{txt:=} {space 9}.5}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:7._at}:{space 1}{res:0.lagbkguer}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{space 4}{txt:laggsratio}{space 6}{txt:=} {space 9}.6}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:1.lagbkguer}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{space 4}{txt:laggsratio}{space 6}{txt:=} {space 9}.6}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:8._at}:{space 1}{res:0.lagbkguer}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{space 4}{txt:laggsratio}{space 6}{txt:=} {space 9}.7}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:1.lagbkguer}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{space 4}{txt:laggsratio}{space 6}{txt:=} {space 9}.7}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:9._at}:{space 1}{res:0.lagbkguer}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{space 4}{txt:laggsratio}{space 6}{txt:=} {space 9}.8}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:1.lagbkguer}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{space 4}{txt:laggsratio}{space 6}{txt:=} {space 9}.8}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:10._at}:{space 1}{res:0.lagbkguer}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{space 4}{txt:laggsratio}{space 6}{txt:=} {space 9}.9}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:1.lagbkguer}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{space 4}{txt:laggsratio}{space 6}{txt:=} {space 9}.9}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:11._at}:{space 1}{res:0.lagbkguer}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{space 4}{txt:laggsratio}{space 6}{txt:=} {space 10}1}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:1.lagbkguer}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{space 4}{txt:laggsratio}{space 6}{txt:=} {space 10}1}{p_end}
{p2colreset}{...}

{res}{txt}{hline 14}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 15}{c |}{col 27} Delta-method
{col 15}{c |}      dy/dx{col 27}   Std. Err.{col 39}      z{col 47}   P>|z|{col 55}     [95% Con{col 68}f. Interval]
{hline 14}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}laggsratio    {txt}{c |}
_at#lagbkguer {c |}
{space 8} 1 0  {c |}{col 15}{res}{space 2} .0349095{col 27}{space 2} .0962154{col 38}{space 1}    0.36{col 47}{space 3}0.717{col 55}{space 4}-.1536692{col 68}{space 3} .2234881
{txt}{space 8} 1 1  {c |}{col 15}{res}{space 2} .3718242{col 27}{space 2} .1371048{col 38}{space 1}    2.71{col 47}{space 3}0.007{col 55}{space 4} .1031037{col 68}{space 3} .6405447
{txt}{space 8} 2 0  {c |}{col 15}{res}{space 2} .1412481{col 27}{space 2} .2089752{col 38}{space 1}    0.68{col 47}{space 3}0.499{col 55}{space 4}-.2683357{col 68}{space 3}  .550832
{txt}{space 8} 2 1  {c |}{col 15}{res}{space 2} .4001429{col 27}{space 2} .1468577{col 38}{space 1}    2.72{col 47}{space 3}0.006{col 55}{space 4} .1123071{col 68}{space 3} .6879786
{txt}{space 8} 3 0  {c |}{col 15}{res}{space 2} .2924965{col 27}{space 2} .0858704{col 38}{space 1}    3.41{col 47}{space 3}0.001{col 55}{space 4} .1241937{col 68}{space 3} .4607994
{txt}{space 8} 3 1  {c |}{col 15}{res}{space 2} .2907585{col 27}{space 2}  .166126{col 38}{space 1}    1.75{col 47}{space 3}0.080{col 55}{space 4}-.0348425{col 68}{space 3} .6163594
{txt}{space 8} 4 0  {c |}{col 15}{res}{space 2} .3048033{col 27}{space 2} .1607616{col 38}{space 1}    1.90{col 47}{space 3}0.058{col 55}{space 4}-.0102836{col 68}{space 3} .6198901
{txt}{space 8} 4 1  {c |}{col 15}{res}{space 2}  .184898{col 27}{space 2} .1064848{col 38}{space 1}    1.74{col 47}{space 3}0.082{col 55}{space 4}-.0238084{col 68}{space 3} .3936044
{txt}{space 8} 5 0  {c |}{col 15}{res}{space 2} .2219419{col 27}{space 2} .1442957{col 38}{space 1}    1.54{col 47}{space 3}0.124{col 55}{space 4}-.0608725{col 68}{space 3} .5047563
{txt}{space 8} 5 1  {c |}{col 15}{res}{space 2} .1127996{col 27}{space 2} .0666657{col 38}{space 1}    1.69{col 47}{space 3}0.091{col 55}{space 4}-.0178628{col 68}{space 3}  .243462
{txt}{space 8} 6 0  {c |}{col 15}{res}{space 2} .1411252{col 27}{space 2} .0975708{col 38}{space 1}    1.45{col 47}{space 3}0.148{col 55}{space 4}-.0501099{col 68}{space 3} .3323604
{txt}{space 8} 6 1  {c |}{col 15}{res}{space 2}  .055184{col 27}{space 2} .0444863{col 38}{space 1}    1.24{col 47}{space 3}0.215{col 55}{space 4}-.0320076{col 68}{space 3} .1423756
{txt}{space 8} 7 0  {c |}{col 15}{res}{space 2} .0651627{col 27}{space 2} .0617537{col 38}{space 1}    1.06{col 47}{space 3}0.291{col 55}{space 4}-.0558723{col 68}{space 3} .1861978
{txt}{space 8} 7 1  {c |}{col 15}{res}{space 2} .0004019{col 27}{space 2} .0347754{col 38}{space 1}    0.01{col 47}{space 3}0.991{col 55}{space 4}-.0677566{col 68}{space 3} .0685604
{txt}{space 8} 8 0  {c |}{col 15}{res}{space 2}-.0135253{col 27}{space 2} .0428478{col 38}{space 1}   -0.32{col 47}{space 3}0.752{col 55}{space 4}-.0975054{col 68}{space 3} .0704547
{txt}{space 8} 8 1  {c |}{col 15}{res}{space 2} -.054371{col 27}{space 2} .0417852{col 38}{space 1}   -1.30{col 47}{space 3}0.193{col 55}{space 4}-.1362684{col 68}{space 3} .0275265
{txt}{space 8} 9 0  {c |}{col 15}{res}{space 2}-.0913267{col 27}{space 2}  .063318{col 38}{space 1}   -1.44{col 47}{space 3}0.149{col 55}{space 4}-.2154276{col 68}{space 3} .0327742
{txt}{space 8} 9 1  {c |}{col 15}{res}{space 2}-.1118912{col 27}{space 2} .0588498{col 38}{space 1}   -1.90{col 47}{space 3}0.057{col 55}{space 4}-.2272348{col 68}{space 3} .0034523
{txt}{space 8}10 0  {c |}{col 15}{res}{space 2}-.1674381{col 27}{space 2} .0990309{col 38}{space 1}   -1.69{col 47}{space 3}0.091{col 55}{space 4}-.3615351{col 68}{space 3} .0266589
{txt}{space 8}10 1  {c |}{col 15}{res}{space 2}-.1836311{col 27}{space 2} .0881443{col 38}{space 1}   -2.08{col 47}{space 3}0.037{col 55}{space 4}-.3563907{col 68}{space 3}-.0108715
{txt}{space 8}11 0  {c |}{col 15}{res}{space 2}-.2521841{col 27}{space 2} .1484071{col 38}{space 1}   -1.70{col 47}{space 3}0.089{col 55}{space 4}-.5430566{col 68}{space 3} .0386884
{txt}{space 8}11 1  {c |}{col 15}{res}{space 2} -.288953{col 27}{space 2} .1407968{col 38}{space 1}   -2.05{col 47}{space 3}0.040{col 55}{space 4}-.5649096{col 68}{space 3}-.0129964
{txt}{hline 14}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. marginsplot, recast(line) recastci(rline) by( lagbkguer)
{res}
{text}{p 2 6 2}Variables that uniquely identify margins: laggsratio lagbkguer{p_end}
{res}{txt}
{com}. 
. *Model 6
. robvar gp, by(pguer)

            {txt}{c |}            Summary of gp
      pguer {c |}        Mean   Std. Dev.       Freq.
{hline 12}{c +}{hline 36}
          0 {c |}  {res} .11160714   .31495281       2,240
  {txt}        1 {c |}  {res} .46153846   .50066269         117
{txt}{hline 12}{c +}{hline 36}
      Total {c |}  {res} .12897751   .33524618       2,357

{txt}W0  = {res} 174.15887{txt}   df({res}1, 2355{txt})     Pr > F = {res}0.00000000

{txt}W50 = {res} 127.65981{txt}   df({res}1, 2355{txt})     Pr > F = {res}0.00000000

{txt}W10 = {res} 174.15887{txt}   df({res}1, 2355{txt})     Pr > F = {res}0.00000000
{txt}
{com}. 
. 
{txt}end of do-file

{com}. log close
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}C:\Users\19047\Desktop\Uzonyi Informational Theory.smcl
  {txt}log type:  {res}smcl
 {txt}closed on:  {res}26 Jul 2021, 09:59:02
{txt}{.-}
{smcl}
{txt}{sf}{ul off}